#include <iostream>
#include <vector>
#include "HitsEvent.h"
#include "KalmanFilterProcess.h"
using namespace std;

int main()
{
    vector<float> fx;
    vector<float> fy;
    vector<float> fz;
    vector<float> fe;
    fx = {1.0, 1.5, 2.0, 2.5};
    fy = {1.0, 1.5, 2.0, 2.5};
    fz = {1.0, 1.5, 2.0, 2.5};
    fe = {1.0, 1.5, 2.0, 2.5};

    HitsEvent hit0(fx, fy, fz, fe);
    // hit0.show(1);
    hit0.showVertex();

    KalmanFilterProcess kfprocess;
    HitsEvent hit1 = kfprocess.filter_3D(hit0);
    hit1.showVertex();

    return 0;
}